package org.jeecg.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * (MesPartGroup)实体类
 *
 * @author liting
 * @since 2024-09-01 11:44:09
 */
@Data
@TableName("mes_part_group")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "mes_part_group对象", description = "产品组")
public class MesPartGroup implements Serializable {
    private static final long serialVersionUID = 171559543928570343L;

    @TableId(type = IdType.AUTO)
    private Integer id;
/**
     * 产品组编号
     */
    @Excel(name = "产品组编号", width = 15)
    @ApiModelProperty(value = "产品组编号")
    private String groupno;
/**
     * 备注
     */
    @Excel(name = "产品组备注", width = 15)
    @ApiModelProperty(value = "产品组备注")
    private String remark;

    @Excel(name = "产线或产线组", width = 15, dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
    @Dict(dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
    @ApiModelProperty(value = "产线或产线组")
    private String line;

}

